package com.ruoyi.system.kysh.utils;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.time.LocalDateTime;
import java.time.ZoneId;
import java.time.ZonedDateTime;
import java.util.Date;

public class MyTimeUtil {
    public static Date nowTime(){
        //更新时间
        return new Date();
    }

    public static String changeDateFormatToDay(Date time) {
        SimpleDateFormat simpleDateFormat=new SimpleDateFormat("yyyy-MM-dd");
        return simpleDateFormat.format(time);
    }
}
